change worker construct signature