notebook functions finally work in all_f