move use statements to the top; better debugging