1) static variable were replaced by local variables and data members