removed instance variables due to the presence of  inheritance