writting inotebook