change code to exclude meanFreq from measurement