change to localstorage, finish app