Jacob thanks for helping and thanks Dave for the examples , that's excellent , much appreciated ,
agreed the first example does looks easier to read and follow ,
and thanks for showing how you would use $collection.foreach() statement syntax, that has certainly enlightened me.
thanks Glenn