another example of a depletion region occurs in the mos capacitor. it is shown in the figure to the right, for a p-type substrate. supposing that the semiconductor initially is charge neutral, with the charge due to holes exactly balanced by the negative charge due to acceptor doping impurities. if a positive voltage now is applied to the gate, which is done by introducing positive charge "q" to the gate, then some positively charged holes in the semiconductor nearest the gate are repelled by the positive charge on the gate, and exit the device through the bottom contact. they leave behind a "depleted" region that is insulating because no mobile holes remain; only the immobile, negatively charged acceptor impurities. the greater the positive charge placed on the gate, the more positive the applied gate voltage, and the more holes that leave the semiconductor surface, enlarging the depletion region. (in this device there is a limit to how wide the depletion width may become. it is set by the onset of an inversion layer of carriers in a thin layer, or channel, near the surface. the above discussion applies for positive voltages low enough that an inversion layer does not form.)