added changes for player