added frequency guesser