localstorage docstring added