Adding in hardware cancellation support