@markstory, Sorry - haven't been online all weekend. I think this should have be static since it belongs to the class, rather than a particular instance.