implement a more general untrack method.