set max depth to 1