return added & isin, index, flatten, reverse refactor