improve bindings