def METHOD_NAME(programs, specialisations, specCode):
    """Adds program codes that specialisation is available in"""
    if programs:
        for program in programs:
            specialisations[specCode]["programs"].append(program["assoc_code"])