extended templates