different traverse to output tuples