adds titles to index'