EG: finally found a neat way to get the parent