localstorage works now