external clocking working