remove unneeded function
remove console.log
whitespace cleanup