ADD: cases
ADD: deletions
ADD: support for deleting items

some bug fixes