More depth first search