10 max depth to avoid loop, and set true to continue