rewrite countdown command