swapping out of pg