While do steps implementation