changes  to simulation