used most_common() instead of sorted()