new FFI interface for entry 3