initialized template