using frequency