added local storage adapter