refactoring "NOTEBOOK"