initial implementation of the worker complete