Edited HQ.hpp