metric template ends