Before revision:  These two procedures are then used in order to build portfolios of stocks based on Markovitz 's theory, trying to build better predictions of future risk based on past data.
After revision:  These two procedures are then used to build stock portfolios based on Markowitz 's theory, trying to build better predictions of future risk based on past data.