getDepth() public