Current flow in capacitor