added ipynb func