print statements now removed