match many templates