added functionality for delete handler