moved analysis to ipynb