remove unnecessary code, added sim.py