Also specify number of matches for scan