changed 32bit double to 64 bit