expose match method
expose match method