added New func taking custom binary arg func