started work on destructor