refactor our main 'print'