Added debuging through Serial.print and Serial.println