built the initial simulation.