updated simulation stuff