debugged most of the HV service