Should probably add an explanatory comment here so that folks understand that the swapping is intentional.