add ancestors