made usage of worker optional