renamed method from search to match