playing around with the fsm library