defining match