add background option to add-index!