isMatch was incorrect api to use