remove print line and add comments