trying to add methods to remove wire segments. doesn't work