minor edits and updating the index to group topics by content