added in function for cooking time