bunch of methods in hllp that could be made static and other minor, easy cleanup