Added loop

Suggested by @court17