added player data class and displayed on screen