For cancers involving the head of the pancreas, the Whipple procedure is the most commonly attempted curative surgical treatment. This is a major operation which involves removing the pancreatic head and the curve of the duodenum together ("pancreato-duodenectomy"), making a bypass for food from the stomach to the jejunum ("gastro-jejunostomy") and attaching a loop of jejunum to the cystic duct to drain bile ("cholecysto-jejunostomy"). It can be performed only if the person is likely to survive major surgery and if the cancer is localized without invading local structures or metastasizing. It can, therefore, be performed only in a minority of cases. Cancers of the tail of the pancreas can be resected using a procedure known as a distal pancreatectomy, which often also entails removal of the spleen. Nowadays, this can often be done using minimally invasive surgery.