changed clkD to 2