working on pausing execution