Adding parts of resistor