further dev work for DeepFirstSearch