added missing braces for consistency