possibly different hash option

left code for second option for hash function.