Added xxxSim functions from FSATeach