move to simpler errd