fixed up basic recipe logic