invalid use of nonstatic member function

#include <LiquidCrystal.h>

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup()
{
  lcd.begin(16, 2);
  lcd.clear();
}

void loop()
  {

  lcd.print ("lcd on");
  delay(3000);
  lcd.clear
;  lcd.print ("Hello world");
  delay(3000);
  lcd.clear
;  lcd.print ("lcd off");
  delay(3000);
  lcd.clear
;  lcd.print("lcd restarting");
  delay(3000);
  lcd.clear   

}

the last curly bracket is where it highlights it

End your statements with a ;

.

it worked