added fido_fsm.py