Please re-indent the code below to respect the if structure and make it more readable.