     startTimer();
     int initMass = massFSR();
     while(massChange(initMass)< mass && !maxTimer(P_TIMEOUT));
-    if(!send(addr, temp, 2))
+    if(!send(addr, temp, 2)) {
         error();
+    }
     return 0;
 }
 

    Serial.begin(9600);
    //send(0, test, 6);
    delay(100);
    if(!initialize())
        Serial.println("Initialization Failed");
    threshold = massFSR();

}

        Wire.begin();
    Wire.beginTransmission(addr);
    Wire.write(data);
    if(Wire.endTransmission() != 0) {
        return error();
    }
    return 0; //returns 0 if sent successfully
}

