MADISON, Maine - A Maine high school unable to fill a vacant teacher position has turned to a foreign language computer program to educate students.

With money already earmarked for the job, The Morning Sentinel reports Madison Area Memorial High School opted to purchase the Rosetta Stone program to serve as its full-time French and Spanish teacher.

Principal Jessica Ward says the situation isn’t perfect, but Rosetta Stone was the best option moving forward this year.

Get Breaking News Delivered to Your Inbox

The school was forced to purchase the program, which is currently used in more than 4,000 schools nationwide, when no one applied.

Rosetta Stone officials say the program is ideally used in conjunction with a live teacher.

An education technician was hired to supervise the school’s students and administer the program.