add texts to index