ui has not been tested. no longer unwanted deletion of objects