I want to access base class method variable in derived class.