adding debug info into worker