Change freqs_hash to frequencies_hash