removed console.log statement and unnecessary newline