I apologize for the double post. I sent first time under another account. Here is my question. OK. I don't know why I am having such trouble with this and I have a little perl and php experience, but i am having the roughest time figuring out functions. Basically my trouble arises in understanding how things get passed into and what the return statement returns. I hope I am being clear. can anyone offer some tips? TIA.