Apologies for not posting to everybody's exacting requirements... as a new programmer and arduino being completely new to me I thought a support forum would concentrate more on the supporting part rather than picking fault...
Once I get an opportunity i will post my revised code which is still throwing up the same issues.