added ; to the end of the else statement