extracted countdown timer into its own class