switch the order inside tuple