Btw. Very clever trick for flipping values of two variables!