new definition of swap+cauchy