Added semicolons where needed