local storage now finally works