remove binary function

it has some explicit bugs