code refactoring, x64 platform
QPT used