added comments for getFoods