added resistor library