Hello! I am bit confused about kirchoff's law with capacitors. So if I have a battery and resistance, I obtain V-RI=0. But from what I read, if I have a capacitor and resistance (so discharging capacitor), the equation reads R(dq/dt) + q/c = 0, which is equivalent to RI + q/c =0. Why in this case we have "+" between terms, if the capacitor acts like a battery?