What is the error in my code ... lf / Else

'else' without previus if


int ledPin = 13;
int switchPin = 7;

void setup()
{
pinMode(ledPin, OUTPUT);
pinMode(switchPin, INPUT_PULLUP);
}

void loop()
{
if (digitalRead(switchPin) == LOW);
{
flash(100);
}
else
{
flash(1000);
}
}

void flash (int delayPeriod)
{
digitalWrite(ledPin, HIGH);
delay (delayPeriod);
digitalWrite(ledPin, LOW);
delay(delayPeriod);
}

Semicolon before the left curly brace. That completes the if, and the else is not part of that if

Yeaah, Thanks!