adding hashmap feature