adding the analysis layer