FSA simulator