added methods to render Player