added check for cpufreq