The robotic car wasn't following Kiera Riemer's instructions. It wasn't going far enough and it wouldn't make the turn that the first-grader tried to punch into her control panel.
Then, with persistence and a bit of help from her teacher at Clear Springs Elementary in Minnetonka: success.
"It doesn't matter if you make mistakes," Riemer said. "You just do it again."
Riemer's school is one of about 50 across the Twin Cities area participating this week in Hour of Code, a national challenge designed to spark interest in computer science by engaging schoolchildren to participate in one hour of writing code.
Coding for young people has been endorsed by CEOs, musicians and President Obama. In schools across Minnesota, advocates say a stronger computer science curriculum will help the state meet future job demand while enhancing problem-solving skills in students.
Several large school districts in other states, such as San Francisco and New York City, now offer computer science in all public schools, and states such as Washington have allocated funding for the subject.
Though Minnesota is strengthening its STEM (science, technology, engineering and math) education, and computer science now counts as a math-credit requirement for high school, the state doesn't have any specific plans regarding computer science education, the state Department of Education said in a statement.
But some schools are moving ahead. The Minnetonka schools are exploring a partnership with the St. Paul Public Schools, the Minneapolis Public Schools and Code.org, a Seattle nonprofit group that promotes computer science education among women and students of color. Jeremy Engebretson, a technology coach in Minnetonka schools, said a logical next step for the state would be thinking about where coding best fits into state standards.