Create simple finite state machines