update all print statements to functions
7 files changed