Updated example for more obvious scope