determine parents