Delete section refactored