replace index with countdown