add root? and child? methods