early dev (still learning FFI)