the code performing the analysis