fixed error by adding semicolons