added discussion about how to extract training examples