data analysis notebook mostly final