nit: mm prefix => thui ?
or, do we still need these function name?