new matching code added, preparing to begin work on generating the combined csv file