nested expressions and local variables work