complete count down logic