corrected the way that the countDown works