add timer function

cuz for u