implemented hash_get, hash_put