Added countdown functionality