things are working..after setting up localstorage..i think..but not totally