Updated example to discourage polluting global namespace