reindexes calls and returns to match output