ipynb for quad