replace instance variables with global variables