         default:
           Serial.print(F("Invalid syntax\n"));
           Serial.print(F(setMCRegMenu));
+          defaultCase = true;
         break; 
       }
 
-      if(caseSetMCReg)
+      if(caseSetMCReg && !defaultCase)
       {
-        CAN_message_t txMessage = setupMCMessage(regID, (value && 0xFF00), (value && 0x00FF));  
+        value = setValInput();
+        
+        Serial.println(value);
+        
+        CAN_message_t txMessage = setupMCMessage(regID, (uint8_t)(value >> 8), (uint8_t)value);  
 
         //send message if the user confirms they want to send it
         if(confirmPopUp(txMessage))
-          Serial.print(F("\nNothing sent :) (WIP)\n"));
-          //Can0.write(txMessage);
+          Can0.write(txMessage);
 
         Serial.print(F(setMCRegMenu));
       }

}


//TODO: WORK ON THIS///////////////////////////////////
void setMCReg()
{
  bool caseSetMCReg = true;
  uint8_t regID;
  uint16_t value = 0x0000;

  
  //discard anything more than one char long from prev call


//CAN stuffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff

//static uint8_t hex[17] = "0123456789abcdef";

class CANClass : public CANListener 
