finishing the player action