the data analysis part