testing the frequency control