added renderPlayer()