new state machine add channe; mode support