store ana in localStorage