work on localstorage service