private swap