countdown functional.