def extract_notes(record, reverse=False):
    """
    Synthesize notes from record fields.
    """
    notes = ""
    sep = ""
    if record["Type"] == "PP":
        if  reverse: 
            notes += "(Reversed) to {}, {}".format(
                record["Start City"], record["Start State"])
        else:
            notes += "to {}, {}".format(
                record["End City"], record["End State"])
        sep = "; "
    if record["Free-route?"] == "yes":
        notes += sep + "Free-route"
        sep = ";"
    if record["Super Randonn&eacute;e?"] == "yes":
        notes += sep + "Super randonn&eacute;e"
        sep = ";"
    return notes