Updated for 64-bit