createNotebook implementation