adding statistical analysis