I can figure out what is wrong with this simple sketch

int time1 = 1000;
void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
}

void loop() {
  // put your main code here, to run repeatedly:
  Serial.println ("hello world");
  digitalWrite (2, HIGH);
  delay (time1);
  digitalWrite (2, LOW);
  delay (time1);
}