Did some backend stuff for matches