Use C99 variable scoping for great clarity