Removed extra console.log() statement