Added code for simple bindings