Implemented multiple simulation.