ROYAL OAK, Mich. (AP) — With just a few days of school left, teacher Shannon Smith knew she had to up her game to keep her room of third-grade students engaged in learning until the last day.

So Smith pulled out new educational materials she purchased from an online marketplace where teachers buy and sell teacher-created, teacher-tested educational materials.

Within minutes, her students at St. Mary Catholic School in Royal Oak transformed into detectives, exercising their critical thinking skills, trying to solve "The Case of the Missing Test."

"I can use it for any subject to enhance what I am doing," Smith said of materials on the site. "Even for geometry this year, I went though and found a triangle scavenger hunt. I'm looking to get the kids up and moving and interactive. It's fabulous."

Smith, like many teachers, paid for the extra educational materials out of her pocket to enrich the classroom experience. She estimates this school year, she has spent $95 on instructional materials and has done so in past years.

But under a new program that starts this summer, school administrators will use school funds to pay for extra educational materials for all 21 teachers at St Mary's.

The Detroit News reports that Teachers Pay Teachers, the online marketplace, created a program that allows administrators to set up school accounts for individual teachers who can build wish lists and make purchases.

There are 53 public and private schools in Michigan that are part of the schools program and about 100,000 active users, primarily teachers, company officials said.

"Three thousand schools are doing it today, and it's growing at 100 schools a week. Schools are finding real value in this," said Adam Freed, CEO of New York-based Teachers Pay Teachers, also known as TpT.

Freed said the program makes it easy for administrators and teachers to collaborate and make curriculum decisions together. Each teacher request comes with a detailed product description and a preview. There are also reviews from other teachers who have used the materials.

The TpT website has 3 million items to choose for teachers in grades pre-K through 12th and has been used by 5 million educators. Prices range from free to several hundred dollars for a full curriculum. The average cost of an item is $5.