removed a console.log
fixed typo and whitespace issues
whitespace updates