saving to local storage seems to work