swap vals around