figured it out, needed to iterate while loop with counter