removed do loop