also inverse function for make_hr_quantity implemented