Rewrote to use Fiddle instead of FFI