added return values for pause and resume.
time remaining and found