modified food adding so any number of foods can be added at once