added check for 64-bit