fixed where evaluationDepth was hard-coded in