adding the workers as nodes