added frequency as a unit type