01
Sofie is content. She's watching the dragonflies in Spike Swamp.
02
Sofie notices crocodile eggs in a nest. She predicts that crocodiles must be nearby.
03
Build the swamp boat to help Sofie look for crocodiles.
04 -BI
05
Here's your challenge: create the program that tells Sofie when her boat is near a crocodile.
06
![U3L4_img_step_7.png](https://assets.education.lego.com/v3/assets/blt293eea581807678a/bltc8812f3fb649bae5/5eeb94451f2ce66076804c3b/U3L4_img_step_7.png?locale=en-us&auto=webp&format=jpeg&width=1800&quality=90&fit=bounds)
Create the program. It tells Sofie when her boat is near a crocodile.
07
![U3L4_img_step_8.gif](https://assets.education.lego.com/v3/assets/blt293eea581807678a/blt04422324a0e350f6/5f057664e5f0487064a76255/U3L4_img_step_8.gif?locale=en-us&auto=webp&format=jpeg&width=1800&quality=90&fit=bounds)
Test your program.
08
Modify your program to change how Sofie is notified when her boat is near a crocodile.
09
![U3L4_inspiration_img_1.png](https://assets.education.lego.com/v3/assets/blt293eea581807678a/blte53454c3d1cd93e1/5eeb945b688c1c62a49ae7ba/U3L4_inspiration_img_1.png?locale=en-us&auto=webp&format=jpeg&width=216&height=124&quality=90&fit=bounds)
![U3L4_inspiration_img_1.png](https://assets.education.lego.com/v3/assets/blt293eea581807678a/blte53454c3d1cd93e1/5eeb945b688c1c62a49ae7ba/U3L4_inspiration_img_1.png?locale=en-us&auto=webp&format=jpeg&width=216&height=124&quality=90&fit=bounds)
![U3L4_inspiration_img_2.png](https://assets.education.lego.com/v3/assets/blt293eea581807678a/bltb6e80cfb10a41dae/5eeb945b34f8f30c7cfb2e8a/U3L4_inspiration_img_2.png?locale=en-us&auto=webp&format=jpeg&width=216&height=124&quality=90&fit=bounds)
![U3L4_inspiration_img_3.png](https://assets.education.lego.com/v3/assets/blt293eea581807678a/blt5c7f17e2c2963d62/5eeb945b8d39260a3ded6c8b/U3L4_inspiration_img_3.png?locale=en-us&auto=webp&format=jpeg&width=216&height=124&quality=90&fit=bounds)
Upgrade the swamp boat to help Sofie find other animals.