added nbviewer for functions