The flowchart contained in this article  might be useful.