def add_cats(string, lvl):
    """
    Concatenates the needed categories and target types, used for the result table
    :param string: target type
    :param lvl: lvl to concatenate to
    :return: concatenate string
    """
    for i in range(1, lvl):
        string += " Cat" + str(i) + ","
    string = string + " Text"
    return string