fixing typo, console.logs