add clock counter
Sync