Refactored def destroy