added example for player action