   }
   // set the cursor to column 0, line 1
   // (note: line 1 is the second row, since counting begins with 0):
-  slcd.setCursor(0, 0);  
-  slcd.print("Temperature");  
-
-  if(checkTimer(&timer1, 1000) == 1) {
-    
-    temperature = getTemperature();
-    slcd.setCursor(0, 1);  
-    slcd.print(temperature, 2);  
+//  slcd.setCursor(0, 0);  
+//  slcd.print("Temperature");  
+
+  // getRotaryData
+  float rotaryVal = getRotaryData();
+  
+  // @todo change only if rotary has been used
+  requestedTemperature = rotaryVal;
+  
+  temperature = getTemperature();
+  
+  
+  // write to display  
+  slcd.setCursor(0, 0);
+  slcd.print(temperature, 0);
+//  slcd.print("°");  
+  slcd.print("            ");
+  slcd.print(rotaryVal, 0);
+//  slcd.print("°");
+
+  slcd.setCursor(0, 1);
+  
+  for(int i = minTemperature; i <= maxTemperature; i++) {
+    if(requestedTemperature >= i)
+      slcd.print("#");
+    else
+      slcd.print(" ");
+  }
+
+  // turn on system if temperature is less than requested!
+  if(requestedTemperature > temperature) {
+    digitalWrite(ledPin, HIGH);
+    digitalWrite(relayPin, HIGH);
+  }
+  else {
+    digitalWrite(ledPin, LOW);
+    digitalWrite(relayPin, LOW);
+  }
+  
+   
+  if(checkTimer(&timer1, 1000) == 1) {   
 
     Serial.print("{");
 //    Serial.print("{ millis: ");

unsigned long timer1 = 0;
unsigned long timer2 = 0;

float getTemperature() {

  int a = analogRead(temperatureAnalogPin);
  int B=3975;                  //B value of the thermistor

  // initialize the pushbutton pin as an input:
  pinMode(buttonPin, INPUT);     
 
  pinMode(relayPin, OUTPUT);
 
  // set up
  slcd.begin();
  slcd.backlight();
