Crucial update to syntax on line 50

Also added flowchart.