add code about sync timer