remove print outs and add comment with outcode table