Modified database to save match set data and modified output tables to display it