Figured out how to implement a loop.