Also make main return a value rather than print to stdout. It's more convenient for other code to use these modules when they return values rather than print.