flat is better than nested.

Fixes syntax error