updated the missing isExpired isCancelled