bindings to native function| native api