added actions to receive in player.erl