removes debug statements and crap