complete ingredients object and funtion