completing a match