Implement comparing match