template system changed