depth and maxdepth