also, better name suggestions for `getHash` are welcome