player class now reads int