working on hash