Curly braces refactored