Worker implementation