Added advanceStep.