ten fitting iterations in while loop, not one