Reformatted and added semicolons