canceller method logic