adding destroy method in base class