Added very beginnings of hash functionality