setting up matches