searching out the depth