handling a single action/double action