def METHOD_NAME(self, val, offset=0):
    """
    fill the dictionary with values found in the input 'val' list
        the nth value in val is placed in the dictionary if a key
        of type 'name':[nth, ''] exist
        the offset is used to include the 'val' list further
        in the dictionary
    :type val: list
    :param val : a list of values
    :type offset: int
    :param offset : offset in the dictionary
    """
    if not isinstance(val, tuple):
        raise TypeError("set_dict() expects a tuple")
    for key in self.HEADER:
        index = self.HEADER[key][0] - offset
        if 0 <= index < len(val):
            if self.HEADER[key][1] != "":
                fct = self.HEADER[key][1][0]
                param = self.HEADER[key][1][1]
                value = getattr(self, fct)(val[index], param, val, offset)
            else:
                value = val[index]
            try:
                self.HEADER[key][2] = value
            except IndexError:
                self.HEADER[key].append(value)