add function RemoveEntriesFromIndex()