nit: please add comments for the `addLeadZero` function.
Thanks.