transitions to idle