frequency parser