ch5, through error handling