display error messages, part 1