adding templete