changed clock to clk