transition_detect
