removed global instance variable