add actions and command enum.