added section on max depth