added player state listener