Ok, first, please move this post to the "support and tips" area, then post an introduction. I can't give any advice on loops but I'm sure someone can. Welcome to TM!
Aslo, please check out the Search function, we've discussed loops many times before and you may find the answers you seek somewhere in the previous discussions.