added localStorage stuff to print out old things