add curly brackets to match coding standard