add timer sample