> For the complete documentation index, see [llms.txt](https://docs.fathom.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fathom.fi/fxd-stablecoin/soft-pegging-to-the-us-dollar.md).

# 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="/files/a1ADjA5SQhDf44gD1Kn0" alt=""><figcaption></figcaption></figure> <figure><img src="/files/TFthge5edtYHU82GYwZ0" alt=""><figcaption><p>Pegging when FXD &#x3C; $1</p></figcaption></figure> <figure><img src="/files/2l3OVDwWEEQki72j1EH8" 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="/files/UWfWWOpbC9O9ruwNuAhW" alt=""><figcaption></figcaption></figure> <figure><img src="/files/a2hNaRkKN5Ef7igVC2Wm" alt=""><figcaption><p>Pegging when FXD > $1</p></figcaption></figure> <figure><img src="/files/QF4FPPUzxHKlgF6ka3SC" 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="/files/A5BbywhW0I34Cgjg6KcD" alt=""><figcaption><p>Stable Swap Module (SSM</p></figcaption></figure>
