notebook for functions