minor changes to data analysis