changed how delete deletes