code for the count down timer