correct the way we swap within resulting tuple set