made function HIR printing better