adding prepareFoodItem function to food controller