changed parent/child to predecessor and successor