adding local storage cache