example of how to use hashes