more implementing of kate's designs, nested templates