adds support for delete