making local storage more efficient and accurate