for and if spaces removed and n is scoped to the for.  Any other nits?