Better greeting cancellation code