chngs for local storage