add diagram
abstract bug_handler