removing default value for class variable method