thanks john

that does exactly what i wanted to do