Add finite state machine State simulation