added displayPlayer() method