attempted hash function