clock sync helper