Some vertical spaces around conditional blocks would make this more readable.