Added countdown with ctime functionality