added does index exist