added docstrings
Prep for getting a hash function