made changes for working with countdown