optimized root functionality