remove unnecessary prints and comments