Version 2 with localStorage improvements, still lS work to be done