Upg6 for AH in C++