Flow chart shows the different possibilities.