cleaned the print functions to default to cout