complete the entire simulation process