The only flowchart you will ever need.