started using local storage