changed type to hash from hash_list