make the example a bit more complicated
fix evaluation order