frequency.py upper()