crude example of how hashing works