I've been looking at gen_fsm as I need a state machine implementation. Are there any examples of using this module? I've googled around but can't find anything. Thanks Bob