added example for implicit global