started with c++ bindings (not working yet)