added hash-retrieval