changed to a do loop