wiring delete/remove functionality