How does capacitor resist electrons if it resist?