added function get_notebook_content