Beans and a box

My idea was let the kids play with beans. But keep the house clean by putting them and the beans in a big box with some trucks to drive through the beans.
It was a great idea until the 3rd or 4th time playing when they decided to make it rain beans. And no box could contain that!