Simulation part added