added listener for player ready event