added section on displaying & clearing errors