also returns frequency