implemented super class calling before on base class function