First worker implementation