working on x64, for real this time