added bb local storage