start of D bindings