added missing errorMessages and confirmations array