part6 commit to local storage