template added fully