changes to simulation

added function that can be bootstrapped, and moved around chunks