added template for output (and styles)