To finish work on a well by making it ready to produce oil or gas. After reaching total depth (TD) [[casing]] is run and cemented, casing is perforated opposite the producing zone, tubing is run and control and flow valves are installed at the [[wellhead]]. Well completions vary according to the kind of well. depth, and the [[formation]] from which it is to produce.