many indentation issues and coding style issues with brackets, in this file