include underscore – TODO: correct?
create grouped matches function finished