starting to work on the match extractor