implemented top level HV data structure