Added nested template