conditionally move to next step