some transition functions in dom