switch the order inside tuple-2