worker actor assignment refactoring