improve comment in parse-unit function