changed how the hash is stored