removed global reference