Changed destructor