Added debugging flowchart