changed clkD to 1