changes for local storage