added a line to index