@classmethod
def get_welcoming(cls, parties, names):
    """ gets welcometexts
        """
    erg1 = {'welcoming': {}}
    for i in parties:
        t2 = u''
        if not isinstance(i.greeting, type(None)):
            t2 = u'%s ' % i.greeting.name
        t3 = u''
        if not isinstance(i.salutation, type(None)):
            t3 = u'%s ' % i.salutation.name
        t1 = u'%s%s%s' % (t2, t3, i.name)
        erg1['welcoming'][i.id] = t1.strip()
    erg2 = {}
    for i in erg1.keys():
        if i in names:
            erg2[i] = erg1[i]
    return erg1
