finish the analysis