cherry picked HexBright program