Implemented remove and destructor