def find_module(course, module_name):
    """
    Uses module name to find the corresponding module
    """
    for module in course.get_modules():
        if module.name == module_name:
            return module