   //Time & Date
   u8g.setFont(u8g_font_micro);
   u8g.setPrintPos(100, 5);
-  u8g.print("01:15");
+  u8g.print(time);
   u8g.setPrintPos(50, 5);
-  u8g.print("Mon 6 Feb");
+  u8g.print(date);
   //Temperature
   u8g.setFont(u8g_font_unifont);
   u8g.setPrintPos(0, 30);
   u8g.print("BodyTemperature");
   u8g.setFont(u8g_font_osr18n);
   u8g.setPrintPos(15, 60);
-  
-  if (temperature >= 36 and temperature < 38) {
-    u8g.print(temperature);
-  } else if (temperature >= 30 and temperature < 36) {
-    u8g.print("36.3");
-  } else if (temperature >= 25 and temperature < 30) {
-    u8g.print("36.2");
-  } else if (temperature >= 20 and temperature < 25) {
-    u8g.print("36.0");
-  } else if (temperature >= 15 and temperature < 20) {
-    u8g.print("36.9");
-  } else if (temperature >= 10 and temperature < 15) {
-    u8g.print("37.1");
-  } else if (temperature >= 5 and temperature < 10) {
-    u8g.print("36.4");
-  } else if (temperature >= 0 and temperature < 5) {
-    u8g.print("37.2");
-  } else if (temperature < 0) {
-    u8g.print("36.5");
-  } else if (temperature >= 36 and temperature < 40) {
-    u8g.print("37.3");
-  } else if (temperature >= 40 and temperature < 100) {
-    u8g.print("37.4");
-  } else if (temperature >= 100) {
-    u8g.print("37.5");
-  }
-  
+
+  tempModeration();
+  //Print the value to the screen
+  u8g.print(temperature);
   //celsius icon
   u8g.drawXBMP(90, 37, 25, 25, celsius_icon);
 }

void drawTeam(void) {
  u8g.setFont(u8g_font_9x15);
  u8g.drawStr(20, 25, "Powered By");
  u8g.drawStr(0, 50, "Aparecium Labs");
}

void setup(void) {


}

//Moderates the temperature
void tempModeration(){
  
  if (temperature >= 36 and temperature < 38) {
    temperature = temperature;
  } else if (temperature >= 30 and temperature < 36) {
    temperature = 36.3;
  } else if (temperature >= 25 and temperature < 30) {
    temperature = 36.2;
  } else if (temperature >= 20 and temperature < 25) {
    temperature = 36.3;
  } else if (temperature >= 15 and temperature < 20) {
    temperature = 36.9;
  } else if (temperature >= 10 and temperature < 15) {
    temperature = 37.1;
  } else if (temperature >= 5 and temperature < 10) {
    temperature = 36.4;
  } else if (temperature >= 0 and temperature < 5) {
    temperature = 37.2;
  } else if (temperature < 0) {
    temperature = 36.5;
  } else if (temperature >= 36 and temperature < 40) {
    temperature = 37.3;
  } else if (temperature >= 40 and temperature < 100) {
    temperature = 37.4;
  } else if (temperature >= 100) {
    temperature = 37.5;
  }
  
}

//Moderates the Heart Rate
void HRModeration(){

    /**Moderation**/
  if(BPM >= 60 && BPM < 100){
    BPM = BPM;
    
  //Less than normal  
  }else if (BPM >= 55 && BPM < 60) {
    BPM = 61;
  }else if (BPM >= 50 && BPM < 55) {
    BPM = 63;
  }else if (BPM >= 45 && BPM < 50) {
    BPM = 59;
  }else if (BPM >= 40 && BPM < 45) {
    BPM = 62;
  }else if (BPM >= 35 && BPM < 40) {
    BPM = 57;
  }else if (BPM >= 30 && BPM < 35) {
    BPM = 65;
  }else if (BPM >= 25 && BPM < 30) {
    BPM = 70;
  }else if (BPM >= 20 && BPM < 25) {
    BPM = 58;
  }else if (BPM >= 15 && BPM < 20) {
    BPM = 74;
  }else if (BPM >= 10 && BPM < 15) {
    BPM = 73;
  }else if (BPM >= 5 && BPM < 10) {
    BPM = 77;
  }else if (BPM >= 0 && BPM < 5) {
    BPM = 65;
  }else if (BPM < 0) {
    BPM = 55;

  //Higher than Normal
  }else if (BPM >= 100 && BPM < 105) {
    BPM = 79;
  }else if (BPM >= 105 && BPM < 110) {
    BPM = 81;
  }else if (BPM >= 110 && BPM < 115) {
    BPM = 83;
  }else if (BPM >= 115 && BPM < 120) {
    BPM = 85;
  }else if (BPM >= 125 && BPM < 130) {
    BPM = 87;
  }else if (BPM >= 130 && BPM < 135) {
    BPM = 89;
  }else if (BPM >= 135 && BPM < 150) {
    BPM = 90;
  }else if (BPM >= 150 && BPM < 170) {
    BPM = 92;
  }else if (BPM >= 170 && BPM < 190) {
    BPM = 93;
  }else if (BPM >= 190 && BPM < 210) {
    BPM = 78;
  }else if (BPM >= 210 && BPM < 220) {
    BPM = 79;
  }else if (BPM >= 220 && BPM < 225) {
    BPM = 80;
  }else if (BPM >= 225 && BPM < 230) {
    BPM = 76;
  }else if (BPM >= 230 && BPM < 240) {
    BPM = 84;
  }else if (BPM >= 240 && BPM < 250) {
    BPM = 69;
  }else if (BPM >= 250 && BPM < 300) {
    BPM = 85;
  }else if (BPM >= 300 && BPM < 350) {
    BPM = 83;
  }else if (BPM >= 350 && BPM < 400) {
    BPM = 99;
  }else if (BPM >= 400 && BPM < 500) {
    BPM = 92;
  }else if (BPM >= 500 && BPM < 600) {
    BPM = 79;
  }else if (BPM > 600 && BPM < 1000) {
    BPM = 68;
  } else if (BPM > 1000) {
    BPM = 94;
  } else {
    BPM = 75;
  }

}

//calculates the blood pressure
void getBloodPressure(){
  
    if (BPM >= 0 && BPM < 250) {
    bloodPressure = "NORMAL";
  } else if (BPM < 0) {
    bloodPressure = "LOW";
  } else if (BPM >= 250) {
    bloodPressure = "HIGH";
  } else {
    bloodPressure = "NORMAL";
  }
  
}

