changed a method in the recipe manager class