Completed everything around simulation. It compiles.