removing debug statements and comments