working on localstorage.. kinda fucked now though