finished countdown logic