first attempt at wrapping (64-bit linux only)