almost done re-writing the piece stuff into a marginally more usefull thing... sorta...
removed a temporary file