modified minHBLT, still need to do comments