countdown isn't working as planned