debugging code added to global-hashmap.c