Added distributed simulation