working 64-bit support