adding data analysis