Thanks. yeah at the time I only knew the bare minimum of coding. I would have approached it differently if I made it now.