added semicolons to end of line where missing