use class variable instead of instance variable in class methods