new frquency.py