Implementing a cancellation option