Do While step implementation