testing renderplayer function