Added reason codes