err analysis