comment code working with localStorage