add new method to player class