Fixing typo, removing console.log statements