created for The Data Scientist's Toolbox course assignment.