Extract countdown into separate file