A more flexible notebook