updated with figures from ipynb