added code for player