This was a great way to handle the mapping of names to frequencies! This function was a great idea and definitely makes the mapping of names to frequencies much more usable.