updated match-sections to find the best match possible
caught bug in updated match-sections, ran tests