Hashmap simplifies period selection.