# Soft-Pegging to the US Dollar

**How pegging works**

When the price of FXD on some market (DEX or CEX) is less than $1, the arbitrageurs are looking for an incentive to arbitrage it with the market, which has a price closer to or more than $1. The below images show how the FXD price is pegged from time 0 to time 2.

<div><figure><img src="https://2441370967-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu8CvMeTMwSaHYwChGoRz%2Fuploads%2FqQ7e0XcVRc19JU9hvuv1%2FSSM2.jpeg?alt=media&#x26;token=185dd30d-f41d-4a44-ac53-6e2968403c82" alt=""><figcaption></figcaption></figure> <figure><img src="https://2441370967-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu8CvMeTMwSaHYwChGoRz%2Fuploads%2F4jFW6xm340Wus5bs6TnS%2FSSM3.jpeg?alt=media&#x26;token=a23b0e0d-af82-4d29-b5fe-33b0810ec82d" alt=""><figcaption><p>Pegging when FXD &#x3C; $1</p></figcaption></figure> <figure><img src="https://2441370967-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu8CvMeTMwSaHYwChGoRz%2Fuploads%2FxyCquJyDdvmqfjRmtNyY%2FSSM4.jpeg?alt=media&#x26;token=6c5d4713-7f0b-41b3-a2b6-5079e29752d1" alt=""><figcaption></figcaption></figure></div>

When the market price of FXD is greater than $1, it provides an incentive to sell FXD in the market. The below images show how the FXD price is pegged from time 0 to time 2.

<div><figure><img src="https://2441370967-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu8CvMeTMwSaHYwChGoRz%2Fuploads%2F3Mr3aSBSly9EL1MoDsJs%2FSSM5.jpeg?alt=media&#x26;token=cc135e37-8291-4f53-92e7-ddec8488f0a8" alt=""><figcaption></figcaption></figure> <figure><img src="https://2441370967-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu8CvMeTMwSaHYwChGoRz%2Fuploads%2FDGTnlQtRMmBYziP0lx8f%2FSSM6.jpeg?alt=media&#x26;token=984efd23-02bf-4b18-ade4-714fbf353ab0" alt=""><figcaption><p>Pegging when FXD > $1</p></figcaption></figure> <figure><img src="https://2441370967-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu8CvMeTMwSaHYwChGoRz%2Fuploads%2FcFqKKKUirYvqU1nk4FMf%2FSSM7.jpeg?alt=media&#x26;token=1f4e65e9-fed0-4c79-9ae6-e6a2892e2dfc" alt=""><figcaption></figcaption></figure></div>

StableSwapModule (SSM) is the special mechanism developed by the Fathom team to provide an additional incentive for arbitrageurs.

<figure><img src="https://2441370967-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu8CvMeTMwSaHYwChGoRz%2Fuploads%2FndKOO6Xu6Z4V73iJqEYb%2FSSM1.jpeg?alt=media&#x26;token=a01e8533-180d-4d79-ae8d-92afc920c7fb" alt=""><figcaption><p>Stable Swap Module (SSM</p></figcaption></figure>
