allow external setting of worker difficulty