working on the ROE HK packet functions