Reduce nesting of statements