Let's face it, kids love candy.  So what if you could take something like chocolate and teach kids an important lesson?  Some researchers at Virginia Tech have found a way.

It is called The CandyFactory app.  It is an educational game that teaches middle school students fractions.  It can be used on iPads, iPhones, the iPod Touch.  The app is free.

Educators will tell you it is really tough for students that age to understand fractions.  Corey Watkins is a teacher at Blacksburg Middle School.  She told News 7 "Oh yeah, they are the hardest, that is something kids never grasp."

During the game, students must break virtual candy bars into pieces, match them with other sizes of candy bars and then put them back together again.

Students at Blacksburg Middle School helped test the game last year.  Adelyn Noble is a 7th grader and has used the game.  She told News 7 "I really liked it because I really didn't like fractions and this helped me to understand them better and like them more because it's candy and I like candy and fractions now.

5 researchers at Virginia Tech developed the program.  They used candy for a reason.  Andy Norton is an Associate Professor of Mathematics.  He told News 7 "candy bars are a natural choice for fractions because they are continuous wholes that can be broken up in any number of parts."

The researchers have just been awarded a $2,000,000 grant from the National Science Foundation.  They will use the money to develop other educational apps.  

The CandyFactory App will be made available to area schools.  The app will soon be tested in all Danville middle schools.  Researchers want to see if the game really does help students learn fractions.

The game has already been downloaded more than 2,000 times.