Corrected variable name for worker