changes to Player class