ERROR!!!

 lcd.clear

Is that all?

You'll find code easier to follow if the semicolons go at the end of lines, like full-stops (periods, if you must)