added template for client