Beginning of matches section. Would like to refactor to have less template duplication, but want to rapidly get to a point where it is possible to save meaningful data.