Added end line. Removed unused lines (countdown_time=countdown_time).