Wrote and tested repeat.