Changed to Hz Frequency and using max frequency for comparison