add frequencies