Since this gets used further below, it would be good to move this declaration closer to where it's used. Right below the comment `# We now poll the individual endpoints of each course for the data` could work.