added ffi dependency