Added error condition to RecipeEngine