added ipynb function