changed binary matcher