added variables and ancestors