started implementation of local storage