use hash for root