added ability to delete nested items