for swap