Removed extra call to console.log