removed redundant checks in runStep()