template for output