delete most of the debugging print outs, ready to hand in