Simplify example making consistent with others

Others don't define those vars, and this is just an example so no need to make it
more visually complex.
Is it like that in other places?