ahem yes erm dur.. anyway thanks for that, of course you are totally correct, a case of spending too much time on one thing prevents me from seeing the obvious yet again (presently standing in corner of room with D hat on) Code now in global rep exec and working perfectly. 
Cheers

Cheers