made some changes to player object