added types to it

type 0 = whole frequency
type 1 = low
type 2 = medium
type 3 = high