stop passing root around