fix brace style and add comment