it was as simple as that

!!!!!, I didn't think I was actually correct with the 'and' statement. Well now I can re-write the whole thing like I originaly intended to do instead of using someone elses code as a model. I can get this to work, I will resubmit it once I get it done.