code formatting to make it better understandable (especially nested 'if'-conditions and 'for'-loops)