destructor was added