reforming templates