Added methods to player class