added Hash class