Code conventions: moved left curly braces up