Use const for newHash