remove call to ffi.new