done hrp some functionality