starting to stub out cffi routines