call function in parent class