replaced take_step