removed redundant renderPlayer()