control flow working buggy notebook.