further work on the string issue. Am implementing it at each filtering step at the moment, but it may be more economical to do a single check at the beginning of the process