there coding standards are not respected here, braces and whitespace.