wrote stubs for the remaining C API functions