finite state machine
49 following