removed the Serial.print debugging statements