changed playerclass to Player for consistency