add sentence to index