error control almost OK