Thank you for your reply,
I have not done flags before I will have to research them. I get what you are saying about small loops inside of loops but would like to know if there are any examples out there to study from.