add books, new index algo