def get_prep_pobj_text(preps):
    """
    Parameters
    ----------
    preps : a list of spacy Tokens

    Returns
    -------
    info : str
        The text from preps with its immediate children - objects (pobj)

    Raises
    ------
    IndexError
        if any of given preps doesn't have any children
    """
    info = ""
    if len(preps) == 0:
        return info
    for prep in preps:
        try:
            pobj = list(prep.rights)[0]
            info += prep.text + " " + pobj.text + " "
        except IndexError as e:
            print("Somehow this prep doesn't have any child", str(e))

    return info