Fixed semicolons, formatting; added comment