writing a policy. Confused about domain transition.