Main simulation 3