unsub logic