Bug fixes & flowchart addition