added resistors to decrease clock signal overshoot