add statistical analysis