refactoring.
player print
pretty printing