for data scientist's toolbox project - part B