automatic ffi creation almost ready