setting up notebook