         b2=Serial.read();
         b3=Serial.read();
         b4=Serial.read();    
-      answer = getAnswer(b2-48, b3-48, b4-48);
-
-      openMouth();
+      answer = getAnswer(b2-48, b3, b4-48);
+
+      waitMouth();
       displayfuse(b2-48,b3-48,b4-48); //fuses the three numbers after the s to a math problem.
 
     }else{

  char str[] = {a,b,c,NULL};
  Serial.write(str);
  if(strcmp(str,"anr")==0){
    Serial.write("anr123123");
    LCDA.DrawFullScreen(angryFace); 
  }
}


void checkInput(int input, int answer){
  if (input == answer){
    Serial.println("cor");
    
    closeMouth();
    //displaySingle("h", "a", "p"); //show happy face (when implemented)
    delay(3000);
//    openMouth();
    Serial.flush();
  }
  else{
    Serial.println("wro");
    openMouth();
    delay(2000);
    waitMouth();
  }
}

