added resistor clock