prio: generalize left() and right() into child()