def get_cs(c, s):
    """
    cs is a compound with its state in parentheses. This function generates

    """
    if s is None or s == '':
        return c
    s = s.strip()
    c = c.strip()
    if not (s[0] == '(' and s[-1] == ')'):
        s = '(' + s + ')'
    cs = c + s
    return cs
