added guards to  pause and resume on progressor