COLORADO SPRINGS, Colo. -

A double surprise awaited students at Midland Elementary School in Colorado Springs Wednesday morning. Not only did the students find out they were nationally recognized for their math skills, but their principal dyed his hair and goatee hot pink.

Midland School is just one of 2,000 schools nationwide that took part in an online math program. The computer-based program is called Spacial Temporal Math. Midland Elementary School Principal Jeremy Cramer told students if they were the top performers in District 11 he would dye his goatee hot pink and if they were first in the nation, he would get a mohawk.  Cramer said he is proud  the students met both of their goals.

"Our hope is that they really take that to heart and apply that and not just in school, but in whatever they want to do. That if they're willing to work hard and work consistently and work smart they will be successful," said Cramer.

One school in Texas is tied with Midland for first place.