adds some more worker code