Resistor making