added factorial, notebook