Finished analyzeSecondOrder