modified to conform to expectations of existing tree search algs