added new c++ bindings