better example of the worker completed flag