add most of the index