added curly braces to pass linting