small changes for simulations