added checkMeals method