after revising nb and adding module to automate func calling