add finite state machine to control/manage transport state