add template mechanism for verse-type environments