removed old sim.R file