working on localstorage - it's a little broken.