implemented part 3 of the analysis