Added API Simulation functionality