Change next_step method.