added alert to index