adding doc for util function
updating ipynb