with clock code