Most 11-year-old boys would calculate the number of gumballs they could buy with $9,000, but one Wisconsin boy, Dawson Miller, has a greater purpose for the big check he received at the Elroy Fair this past week.

Miller’s best friend, Tucker Needham, 11, was diagnosed with cystic fibrosis. The community searched for ways to help support cystic fibrosis research and the Needham family.

Miller devised his own plan to help his friend.

This past spring, Miller raised a pig, Nubby, to raffle off at the Elroy Fair. After months of Miller’s care, Nubby reached 290 pounds in time for the fair.

Miller sold raffle tickets for $5 individually or five tickets for $20. He collected a total $9,000. Half of Miller’s money went to the fair board, and he donated the other half to the Cystic Fibrosis Foundation. Read more here.

“Dawson is a neat young man who turned his pig project into something really unique for a close friend,” Department of Agriculture, Trade and Consumer Protection (DATCP) Ben Brancel said in a Farm Bureau release. “By holding this raffle, Dawson took his knowledge of caring for livestock to the next level and made a positive impact on his fair and cystic fibrosis.”