add freq_result and key