removed a hoarde of debugging code