Access to the hashmap is now through one method