LocalStorage func added