Removed duplicate console.log statement.