template for worker