errors and their correction