added changes to ipynb ex1