add depth to index