accumulate errors