use timer interrupt to count down