finish templete