add root functionality