Thanks for your valuable time. Maybe I came across wrong. My bad. All I wanted to be is as clear as possible. Also, my only problem was my subroutine was not exiting at the correct line where I wanted it to. Perhaps, I messed up the whole thing by describing too much. Anyway, I will figure it out using some of your wisdom you have shared with me.
Thanks a lot.