comments and errors handles