setting up a match