A port of LuRsT's hr to c, but with a different aim