added semis, braces