Deep brain stimulation for OCD is done under general or local anaesthesia. A stereotactic frame may be used. MRI or CT imaging, or both, are used to identify the target area of the brain (commonly, the anterior limb of the internal capsule). Two small holes are drilled in the skull and electrodes are implanted into the target area. The electrodes are connected to an implantable neurostimulator by leads, which are tunnelled under the skin of the neck and scalp. The neurostimulator is surgically placed into a subcutaneous pocket below the clavicle. Postoperative imaging is usually used to confirm the location of the electrodes. A handheld remote-control programming unit is used to turn the neurostimulator on or off and adjust stimulation parameters to find the right level of stimulation.