more ffi functions.