added ; to the end of the if statement