get it compiling again

not sure if the stuff that I commented out was useful for something