implemented conditional get for recipe ingredients