reimplemented bad recipe logic