worker quality calc. refactor