Place pollFrequency in a var