refactored fetching of last match sequence number into new class method