improve the analysis