add AFI to simulator.