add local storage and console.log