added hash_chain