class variable can be access in class method