add curly braces to respect the coding style