template for service