finished first half of run random model function