Implemented the 'match' request.