Please follow the same style for spacing and looping as we do elsewhere in Caret, and take a look for other places where you may have not matched. Function arguments should be spaced out. Loops should declare their counter variable in the first clause, have spaces between clauses, and I'd prefer to close tabs from left to write instead of interating through tabs in reverse. Caret also uses 2-space indentation, not 4-space, as you've done on line 332.