corrected hash map declaration