def convert(origDict, initialSpecies):
    """
    Convert the original dictionary with species labels as keys
    into a new dictionary with species objects as keys,
    using the given dictionary of species.
    """
    new_dict = {}

    for label, value in origDict.items():
        new_dict[initialSpecies[label]] = value

    return new_dict