(The above flowchart can be downloaded here)