A handy flow-chart.