begin to stub out ffi functions