Added more sims code