passing into template