series and shunt resistance