Player A bets $5000. Player B only has $3000. He goes All In. Player C Raises $2000 (puts in a total of $7000). Player A calls (puts in $2000). At this point, the main pot is worth $9000 ($3000 from each player). The side pot is worth $8000 ($7000–3000 from Players A and C)