Thanks for the code and refs, I think I got the idea.