added frequency parser