adding template for inner content