main stages of the investment process