renaming hlpType to hlpTypeof