If medications fail to control an arrhythmia, another treatment option may be catheter ablation. In these procedures, wires are passed from a vein or artery in the leg to the heart to find the abnormal area of tissue that is causing the arrhythmia. The abnormal tissue can be intentionally damaged, or ablated, by heating or freezing to prevent further heart rhythm disturbances. Whilst the majority of arrhythmias can be treated using minimally invasive catheter techniques, some arrhythmias (particularly atrial fibrillation) can also be treated using open or thoracoscopic surgery, either at the time of other cardiac surgery or as a standalone procedure. A cardioversion, whereby an electric shock is used to stun the heart out of an abnormal rhythm, may also be used.