What is you convention with brackets {}, now i see in same line function name and in some places i can see one line after function name? In my opinion next line after function name is more clear and readable for scope.