added support for delete feature