improve text per request from review
simplify code by removing template usage for the hash_t type